Added comments to main, removed dead references, changed random method, updated makefile to compile for C++11, added normal distribution, fixed some issues with work distribution between threads