improved coordconv.py