Updated the Deseasonalize.R script so that it can deseasonalize using a window.

Bug fixes.