Avoid division by 0 in Plot Profile.

This PR fixes the situation in which a ``ZeroDivisionError`` is thrown when the ROI line is parallel to the X axis and hence the ``y1`` and ``y2`` values are equal, returning 0 in the subtraction.

To test - check that the values returned from the script make sense.
/cc @will-moore