Create fdt_rotate_bvecs

Sourced from:

https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=fsl;3777d8fe.1202