Find Nearest Value In Array Python