Some changes to compute controllability.