Made EMC system use doubles

as the title states I made the entire EMC system use doubles.