Convolutional Neural Network Optimization For Homography Estimation