Changed order of arguments in statistics.distribution from (variable, data) to (data, variable);

closes #32