Added getHardness method to Vector