Projecting image onto eigen subspace implemented