included lateral weights vector in output calc.