Fixed hue degrees calculation. Added output directory CLI switch. Can now write output of month aggregates to per-month JSON files.