Added lots of optimizations and removed physics from devices that don’t support them.