Add high-level API for scalarMult and scalarMult.base.

Closes #15.