Python implementation of the Sparse Filtering code by Ngiam et al.