added function to get height at given position
unconvoluted multiplication