Introduced inverse function, component-wise multiplication by a scalar, renamed functions to fit new code style.
Added access by subscript operators, renamed functions to fit new code style.