Fixed an error with the normal calculations.