Extracted interface for math utils.
Removed unecessary public modifier from interfaces.