Text this: The development of rational basis functions for the finite element method