convert-bases function

Convert bases of deb_lsd, deb_tetra, and deb_decimal vectors