fill in gaps in patcher
correct plot return values
made the array plots work with 1D arrays