Rotation Fix

Made the Matrix 1 Dimensional, fixed the rotations.
Merge pull request #2 from Shepphard/develop

Rotation Fix