Type fix
Add more checks
Add Docstrings to SDP class
Add unittests for SDP

   usage: python -m unittest discover -s test