update Matrices to use a float arrays rather than individual floats.

Signed-off-by: Nick Minkler <sleaker@gmail.com>
Merge pull request #2 from Sleaker/master

matrices as float arrays