Should have had one final twist. SPOILER ALERT
It would have been much better if just before Teddy/Andrew went off to be lobotomized, we found out that all his insane conspiracy theories were true and the doctors were indeed running some sort of MKUltra/Operation Paperclip operation and gaslighting him to keep it under wraps.
Maybe even have Teddy/Andrew himself finally convinced they were on the level, but provide some obvious cue in the final seconds for the audience to realize that the doctors were truly evil.
The film felt incomplete without this final twist. I just sat there and thought "So what?"