Text this: A dynamic optimal decoupling controller design for a multi-variable system with stability analysis