I had a quick look at you driver and noticed that you use the wishbone bus so you get all the sensor data from the fpga; even the i2c ones. Btw, are we supposed to get a ST HTS221 on the MATRIX creator? The silkscreen-labeled humidity sensor I got on my board looks very different. I also see that you are pulling the temperature from the RPi CPU which is a joke to say the least (see https://github.com/matrix-io/matrix-creator-malos/blob/master/src/driver_humidity.cpp).
You do have a ST HTS221 in the board, the silkscreen of UV and humidity sensors are swapped, so the humidity sensor you are looking for is the one with the UV label.
Regarding the temperature measurement we have two sensors that can provide temperature readings. The HTS221 humidity sensor and the NXP MPL3115A2 Pressure sensor. The code you saw using the Raspberry Pi CPU temperature is related to a simple calibration performed to the temperature from the humidity sensor using both the temperature form the sensor and the CPU temp from the Pi that is the main source of heat that affects the readings when you are trying to get the room temperature.