Fixed the error with NaN values in level_penalty(). Forgot to use >= and <= when checking for level differences between player and monster levels.