Bug fixes for error handling and matrix assignment