remove leading 0s and replace newline by spaces

I have moved __dict__ initialization to \_\_init\_\_ in a way to be done once.
In __calculate__ method I remove leading 0  and replace new line by spaces from __formula__ string.