Basic sloping calculation