Converted optics package to use Quantity objects and improved the optics package docs