inline subvector_type theta_acc_ref() { return data.subvec(0,2); }
inline subvector_type subvec(const arma::uword n,const arma::uword m) { return data.subvec(n,m); }
inline const subvector_type theta_acc_ref() const { return data.subvec(0,2); }