Stable commutator length computer