Added Projection matrix to simulation algorithms outputs
The second output parameter will be a vector which every cell is the projection distance