corrected minus in cotnrol variates
fixed random bug
took instructon into if