util: Add cube and square helpers without using pow

x*x and x*x*x are faster than using pow.
1 file changed