Returns an error if any homology has infinite length
The object oddHomologyLength is a method function.