Shape-based Feature Engineering for Solar Flare Prediction