On the methods for calculation of grammians and their use in analysis of linear dynamic systems