Change LMFactor to int, rename log file for direction independent solve