fix headers and namespaces from changes made while in stan math pr
fix headers and namespaces from changes made while in stan math pr

stan-dev/stan,stan-dev/stan,stan-dev/stan,stan-dev/stan,stan-dev/stan