Please take some time to carefully format your question such that code snippets and mathematical formulae are correctly presented.
Furthermore construct a minimal working example as described here.
The more succinct your question, the more likely it is that people will be able to offer help.