Fixed a memory management issue in CPTAnimationPeriod.
Fixed an axis labeling issue. Fixed issue 497.