add readme, fix bug with matrix being transposed when input manually