Create md.m

Given prescribed positions, generate a set of angles that produce grashoff conditions satisfied dyads.