Adding function for calculating generic costs

genCosts.py contains function to calculate classification cost (for
ordinal date only, for the moment)