edit regular python implementation to work for arrays
edit regular python implementation to work for arrays

jobovy/galpy,followthesheep/galpy,jobovy/galpy,followthesheep/galpy,jobovy/galpy,followthesheep/galpy,jobovy/galpy,followthesheep/galpy