power calculations are now uint64 rather than float64