A Flow-line Model for Calculating the Surface Profile and the Velocity, Strain-rate, and Stress Fields in an Ice Sheet