Moved Parameter::getSamples() to carma_pack, since this method assumes the parameter value is of type arma::vec which is not always true.