Finished off matrix and vector needs for graphics