Bugfixes in train textfile generation script and prototxt for mitintrinsic