Check for roots of zero function
Fixed column permutation bug in cont_lyap