A Novel Kernel-Based Classification Method Using The Pythagorean Theorem