Removed Matrix struct

The Matrix struct was unnecessary because it only contained two
variables (float *elements and int size), of which only elements was
ever referenced.