Some materials for an nsf grant that Andrew is working on.