Directly calculate the evaluated matrices instead of using mat_mat_mult() and mat_transp(). Cache the intermediate summations to improve processing when using similar z guesses. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>