Initial upload of APhiD EM modeling code