Add optimizeHMD flag to Controller

Seems like this function should be called either `setOptimizeHMD` (consistent) or `optimizeForHMD` (descriptive)?