Fixing minor bug where time spans were not being passed to piecewise curve class during call to set method.
Fixed test errors for clang 3.3 release and icc 12 release.
Added missing included file.