Finished Matrix Class