made some if statements clearer
made some if statements clearer

silgon/pymdptoolbox,McCabeJM/pymdptoolbox,McCabeJM/pymdptoolbox,sawcordwell/pymdptoolbox,yasserglez/pymdptoolbox,sawcordwell/pymdptoolbox,silgon/pymdptoolbox,yasserglez/pymdptoolbox