Identifying handwritten mathematical symbols with CNNs