major bugs removed and documentation added, couple of method removed to new classes, i.g. Population class and CorrelationFunction class