small change in mobility code
Added the separability function.