Updating to throw IllegalArgument exception for null value coordinates. Tests included.