change l1, l2 coeffs to dictionary instead of a list
fix pyflakes issue
Merge pull request #1123 from memimo/l1

Change L1, L2 coeffs to dictionary instead of a list