public function format(Matrix $mA, array $options = array())
    {
        $this->setOptions($options);
        //cast incoming matrix to base matrix to ensure compatibility with the formatter
        $output = $this->box(
                $this->getLines(
                        $this->convert(
                                new Matrix($mA->toArray())
                        )
                )
        );

        return $output;
    }