Lemnisculul medial are traiect prin: