Fixed endianess problems. Works in ECL now.