Changed integer power definition since the defined variables were not correctly rounded