Adding R code to determine optimal bins.
Turn R into function and rename.
Remove second copy of R function.
Merge pull request #2 from PieceMaker/pysfml

Adding R code to determine optimal bins.