added Eigen versions of L1/L2 distances