changed the stats library to use doubles, and added a function to take the mean of a table of doubles (by column). Also added a test to the StatsTest program