Fix from table

Fixed up `from_table`-classmethod to add documentation and masks and flags. This should be merged after #23.