Cleaned up code
Merge remote-tracking branch 'origin/master'
Physics work, added pattern generation improvements (start number, frequency) still in progress