added gFactor as user input parameter
removed v_sun as input parameter