Reduced cyclomatic complexity of patient_nlu.py and patient.py and increased comments