fix interface for algorithms.matrix.determine_signs()