added accessor methods plus minor formatting changes
tighter formatting
filled the empty definition of resetVector() method
tighter formatting plus fixed two warnings