Added proj_2d.m, fixes the 2D projection step. Therefore, so far 1D and 2D projection in the general case is coarsely solved