Corrected bug in rank-1 decomposition.
Removed println statements.
Added ASCII.
A few helper methods.