Fixed "Pow" function