ToFxMatrixF function in matrix mask classs.
Add Gradient support in FxMatrixF class.