Python bindings for SigmaPi Layer + some small changes

Nothing special.