Unsupervised feature learning algorithm implemented in Julia