Advancing Supervised Learning with the Wave Loss Function: A Robust and Smooth Approach