Added new method to compute normals.