Merge pull request #2409 from simo5/InvalidECfix

Catch Invalid X or Y points and raise a ValueError