fixed all other #include headers, created em_algorithm.h