Improvements

 * Add some tests
 * Fix Imports
 * Fix AZPSA
 * Fix contiguity method
 * Changes in readibility
 * Fixed tyops ;)