ThinkingViT: Matryoshka thinking vision transformer for elastic inference | Synapse