Finished EEAP and division works.

Needs further testing