Changed the writer to strip whitespace
Fixed the convert tests
Fixed all the other tests
Fixed a small bug in discrete fragility models