Comprehensive manual on the efficient modeling and analysis of photonic devices for graduate students and researchers in engineering and physics.[...]