Update Ylm functions to work with new vectors