Added BasisFunction namespace and functions: removed redundant code
Preparing IRFRLS for conversion to ModelParametersUnified. Not done yet.