"updates to accomodate L2 norm w/weights"