Modified zero() function.

Zero function now allows for calling a function to set each value of the matrix. This is mostly in anticipation of being able to populate a matrix with Math.random() values.