Good catch.  I'm going to fix this for you, but I would like you to write a unit test that uses coordinates with only 2 values.