Added missing in_place keywords in analysis.math