Abstractify loss functions
Forgot AbstractMatrix on forwardpropagate