A Coarse Grained Approach for the Simulation of Proteins