Inclusion of elastically connected members in exact buckling and frequency calculations