added the option to choose between normal- and t-distribution (via the argument 'distr' in 'varcast()')
fixed some minor bugs in function 'varcast()'