Added a "square" function to the MathsFunctions file.