aheatmap: fixed bug in correlation distance computation