Python Find Nearest Value In Array