updated docs and comments
updated docs and comments
renamed vars
added circular regression for computing curvature