Python Append Row To Matrix