Updated Sql and Probability with doc. Switched to some c++11 constructs (for in range and lambda).