Implementing a MD poverty measure