ENH: implemented analysis.Analysis and removed the repeated code
ENH: implemented analysis.Analysis and removed the repeated code

albertoferna/compmech,saullocastro/compmech,saullocastro/compmech,albertoferna/compmech,saullocastro/compmech