fix #72: use Math.pow instead of operator **