Added a new file to enable non linear scaling + corrected a bug in include files