A powerful function approximator using K-Nearest-Neighbours