Hopefully fixed latex postproc problem. Made xrange in WF plots automatically calculated from parameters