Implementation of paper by H. Ramaprasad and F. Mueller