Unmodified ref-frame calculation algorithm.
File with something related to ref frame calculation and Maxima calculation of the same purpose.