Added word breakup, improved Math.pow