Learning with Similarity Functions: A Novel Design for the Extreme Learning Machine