added LongToWide reshaping function