Fixed some glitches in the given v-cycle algorithm.