Began working on the intensity loader (windowing)

I do not think the windowing algorithm is 100% correct.