Calculating the orbit of an irregularly shaped object is not difficult, just use its center of mass. What is difficult is calculating an orbit around an irregularly shaped object, unless you are far enough away that you can still ignore the irregularities.