Fixed bugs in the weil representation when computed directly for Gamma0(N)