Handle negative integers and 0 for ECC multiplication

See #14.