Multiple changes

- Fixed a problem in math matrix constructors.
- Added the perspective matrix constructor.