Fixed up local alignment code

Also generated sample alignment output