Added documentation to class SwitchingFunction
Spline -> Rational

Changed the internal enum in switching function (for clarity)