Made Weight extend Callable<Double>, and added a multithreaded
WeightManager.