Added some warning flags to the project, removed some redundant alignment attributes from matrix class