Removed some seemingly unnecessary lines

Removed a line where the vol variable was set for no reason.
Moved duplicated line for setting m variable to outside of the if statement.