General formalism for vibronic Hamiltonians in tetragonal symmetry and beyond. Issue 17 (24th April 2018)