Fixed a bug where Markov models starting with an empty line will then cause a problem with the variable curr_line in the method 'get_markov_model'