moved theta to constant memory

successful compile, need to run unit tests and debug now
successful unit test
Merge branch 'theta-constant-mem'