20140414-1826. added function calls for setting n vector and a function to get the normal vector