Fixed the normal calculation to the one from lectures note