Corrected parameter data types, the matrix functions work using indexes
and the matrix get is the only way of accessing the array.