Updated wrapper for pair similarity