Added E and W arrow calculations.