Fixing Bugs introduced when LQR and LQG class were moved to new format.