Vector Spherical Wave Functions written in R