removed utils dependency
fixed model estimation code