Method of calculating the normal modes and frequencies of a branched Timoshenko beam