added scalarMultiplication