added trait for Eigen:Block. error handling now works better.