Added overload in interleave function for accepting 8-bit (returning 16-bit) and 16-bit (returning 32-bit) integers as parameter.