Added necessary files and references
Added within functionality for range based inputs
Merge pull request #19 from divanvisagie/master

within function