Calculate the sine of each element of a Matrix.
This function calculates the sine of each element in a Matrix
Referenced by gammafn(), and lngammafn().