Fix error in cosinus jacobian filling.
Add Map function.