update to use skycoord
updated functions to require skycoord
example for multiple coords