Readable lists of qc, wg, pw and z
Fixed bug in optimization code