Fixed the SARSA update functionality.
Fixed and improved the code regarding the reward file interpretation, which now has a clear interpretation
of whether the input is of matrix form R(s,a) or vector form R(s).