quadrupole along any direction functionality added