algorithms in neuromorphic computing