initial commit. Functioning 1D model estimation.