Added more documentation, and also added code to dynamically determine the cores on machine