PR commit for adding support for degree 1 curves
fixed curve pr
small fixes to PR
Merge pull request #582 from sriravic/curve_pr

Adding support for degree-1 curves.