added ability to return just projection coefficients