Fixed the Double class

The double class shold now be woking