add files from jianwen, which runs combines hard assingment EM with the unknown location, rotation, scale and flip