Various corrections

Corrected in and out explanations
Added parametrized classes
Changed alias to nicer syntax
Clarified range of array slicing