Math functions

The math functions perform mathematical operations on the data and return a data array of the results.