fix calculation of trend identifiers
Fix attribute name
Change attributes' names
Update variable names on midPoint calculation.
Add methods to calculate variation range