Perform linear regression with percentiles 10-90
General fixes. Plot improvements