curve: adds pointFromX and tests
point: avoid unnecessary mod
use bn.js over bigi