Working on using the matrix class to do my own image calculations.