solved some minor bugs and fixed spectro plotting