Co-pilot: Real-time diagnostics of BHA dynamics & active management of drilling parameters