Added getKurtosis.m and fixed minor bugs