moved point-angle conversion to outside of function to reduce number of inputs.
need to fix disp/error calculations.
suppressed output with semicolon
moved point-angle conversion to outside of function to reduce number of inputs.
need to fix disp/error calculations.