Release version 0.3.1

See #52