cast gradient to floatX
Merge branch 'master' of https://github.com/alexsuse/elastic_conv_net.git