Adding missing input to ports in tasks. This caused ModelSim to turn first variable into 1-bit wide. Arrgh