Tangent Prop - A formalism for specifying selected invariances in an adaptive network