Sigmoid misclass monitor bug

Also fixes some tests that fail in float32 (can we add a `floatX=float32` run to Travis?).