function xddot = get_accel(p,n)
xddot = p.xddot(n,:);
end