Update Tracer to use doubles consistently and const objects where approp...

...riate.