Added powers parsing. closes #2