completed lineProfile at a single point. speed need to be tested.