cleaned up decent and linearAi and changed names to exp and div respectively