Added window_size and bin_count options from Sharmin