Advanced Mechanics and General Relativity