Change Matrix struct to unsigned int fields