Finished response curve code
Merge branch 'response_curves' into develop