project_block function

Project a single "block" of data onto the subspace