Hyperdimensional Compression Library - imaging data compression in more than 2 dimensions