added all methods. Still need to code peak finder