MAINT: generalized language in comments
MAINT: generalized variable names
MAINT: updated doc