Processing and complex filtering fixed. Results testing added.