Two bug fixes from v1.0 for the docker environment
src/optim.py
: a float32 tensor was parsed as a float64 tensor in the docker environmentsrc/graph.py
: graph building relies on tuple indices; this is fixed by adding a new method that is agnostic to index types