fixed a small bug in the sliding windows tests
Bunch of commenting
fixed an incorrect use of static
Renamed useful functions to functions
Correct implimentation of using()
Correct implimentation of using()