fixed bug having to do with FASTA fragment generation, added more
unit-tests and added clauses to check for invalid PWMs.