updateAngle now returns null if you're passing in a NaN
Guard against invalid svg state
Matching existing formatting
Merge pull request #4 from Opsimize/guard-against-invalid-data

updateAngle now returns null if you're passing in a NaN