modified code to correctly add geometric normals flag for curve type primitive
added a new test case to check the ray-curve intersection distance returned in parameter t