Added secular frequency calculations.