Designing a novel consensus protocol formultiagent systemswith general dynamics under directed networks