Fixed newMatrix to make more memory efficient
Merge branch 'master' of https://github.com/jhuangmystery/finalFarewell