Measuring Invariances in Deep Networks