Integrating JPEG2000 in Matlab Applications: a Middleware Solution for Medical Software