Fixed javadoc warnings in matrix, added min/max methods to vectors