many bugfixes and refactorings. producers work with arbitrarily set strides. added macro header for more use later. major edits to plotting output.