Original version 2.0

This version uses custom fitting function, not chi^2