Almost done. Something strange with broadcasting. Loss increasing with nproc > 1.