Remove old function. Properly get coordinates from features. Closes #576