Bug fix

-missing.value():failed to impute NA at the head/tail of the time series