fixed bug for calculate surface nromals