new function for log-space regression, edits to workflow