Fixed node and weight count in MC and QMC.
Added task 13. Not working yet. :/