add alignment calculator but mainly for coarse alignment