add check for incompatible dims. first step of sparse NIPALS