Fixes divide by zero
Merge pull request #50 from cedricpinson/feature/dividebyzeroellipse

Fixes divide by zero