added arma.linspace and arma.as_scalar to the test class