Add a note about Math.pow and remove unnecessary use of it