Fixed inverse calulation