Updated metropolis.jl to matrices and changed Phase Diagram functions to accept other algorithms