handle negative scalars correctly when doing point multiplication