cosmetic changes
compatibility issue with old matlabs resolved