Fixed issues in inverse, power