Reformated code.
Added getPrimalDates method.
Made getPrimalDates method static.
Resetted primalDates when calling the getDates method.
Fixed minor bug.
Version 2.7.1, Revision 3