Added EMD code

Added EMD code
EMD code added

EMD code added
EMD code

EMD code
EMD code

EMD code