REFACTOR: Just rearranged function order
Added measurements_as_dataframe function
Made a fast pandas residual calculation (~100 ms)
Started adding skeleton for loss functions
Added lexsorting for measurements within experiments
Loss function runs.  No tests working yet
Implemented (not tested) Jacobian.
Implemented (not tested) Jacobian.