Added cube function
Merge branch 'callum' into sqrt