Shaperead function for MATLAB. Reads projection and sets equivalent in MATLAB.