Added some result calculation

Also adding the MatLab machine.m file used to calculate the theoretical
results for the simulation.
Forgot this file