Added method to describe and find correlations of variables

also fixed bug in DatabaseAccessor.