added max and min functions to Array prototype
dendograms now work