fixed extremeSimpelx calculations