openShortCorrection is not used, other method employed already
(MATLAB Compatibility) Replaced double with single quotes and any ++. Added copyright for better GPL compliance