Function to wrap a matrix application in a function pointer
SYNOPSIS
function AX = applyMat(A,X);
DESCRIPTION
Function to wrap a matrix application in a function pointer
AX = applyMat(A,X)
applies multiplies the matrix A against the vector (or set of vectors)
X. This function is intended to test the ability of a code to
handle function-pointers, on the trivial case of a matrix-matrix
multiplication.