Scaling functions completed
Interface definition looking solid, test added for g-function