calculate localization length for only a single disorder configuration