Fixed bug when generating matrix (impossible to get inverse).
New console commands:

- pcanvassize
- pwindowsize
- pviewport
Fixed warnings and errors when compiling with Xcode 4.6.
Tests: allTest() method should be static.