polynomial eval
minor changes