Uses seqgen and ms. All f names correct. Fixed bug in fhom calculation.