Multiple alignment calculation