Changed handling of Stan variables.
Introducing numstan library.