Fixed answer randomness and minor changes on Latex output to increase readability