Cache semi-aware version
- Added a new version of matrix transpose function
- Align matrices with posix_memalign()
- tabs to spaces etc.
- Refactoring and fixing build warnings