Differences between L1 and L2 as Loss Function and Regularization