Replaced isSimilar() of vector with better method
Added new isSimilar() using ulp