Fixed CompositeLayer documentation

Fixed a variable name in the CompositeLayer docstring that was wrong, as pointed out by @axeldavy