Updated _W0.m to handle MOCHA logic; will eventually be moved out