Bates professor receives $582K grant from National Science Foundation