Surface Boundary Conditions: A Simulation Model for Macromolecules