guardfile update, gemfile fix, and maths functionality