Added minor bug fixes like undefined equation finding error, log message formatting.