updated compute normal