Cleaned up code with Matlab Editor