fixed bug in isNumeric() function - char 75[K] should be 57[9]
also simplified the function