Renamed function

Improved handling of interaction terms. Needed to rename function to
better reflect output
Updated get.basis.set function
Improved selection of interaction effects

Sometimes interaction effects were switched in the model output, so
function now extracts interactions directly from model terms if
interaction is present in independence claim