fix uninitialized array
removed excess debugging
fix blank crosspol plots bug