start porting linear algebra from python source
add two LA routines, try assert for invariants