allow double input values for test calculator R script
add "txt" file extension for result retrieval with mime type "text/plain"
add a few variables for easier debugging