add multiply_by_scalar