Replacing DoubleVector by Map

Signed-off-by: Olivier Van Laere <vanlaere@yahoo-inc.com>