added error test if neither --disp nor --vel are flagged during execution