fixed small bug and did a little styling
small tweaks
final tweak for lnf and value bug
Merge pull request #1 from stevewirts/master

fixed small bug and did a little styling