Added new way of calculating graph usable also to make graph just for parero front