Initial version of gradient calculator tools - not looking that well yet