Remove some files
Add a window function for computing errors (bug exists)