some changes in Danilevski Method
made solution of Danilevski method without M matrix