Fix bug in get_results_all() by using reshape2::dcast

Also had to edit calculate_runtime() to work with
the casted dataframe.