Fixed coordinate conversion

Still need to check consistency with other (real) images