When computing the J_style_layer your function outputs 11 while it should output 9.19028.
When computing the J_style_layer your function outputs 11 while it should output 9.19028.