removed a bug in PVfunctions::B0.