Scalar multiplication 3D.