const added in function signature
constraints on parameters in fit and minimize support
src reorganized
redefining Function...