public static void main(String[] args) throws IOException {
File file = new File("swiss_roll_data.matlab5");
FileChannel channel = new FileInputStream(file).getChannel();
ByteBuffer scan = channel.map(MapMode.READ_ONLY,0,channel.size());
scan.order(ByteOrder.BIG_ENDIAN);
/*
* MATLAB Version 5 MAT-files begin with a 128-byte header made up of a
* 124 byte text field and two, 16-bit flag fields. <P> The first 124
* bytes of the header can contain text data in human-readable form.
* This text typically provides information that describes how the