Added default values of vector is initialized to double() in
constructors and resize() function.
Also added typedef for std::size_t as size_type